import Vue from 'vue'

Vue.prototype.$toPage = toPage

// 跳转页面
function toPage(name) {
    this.$router.push({name: name})
}